home comics writing pictures archive about

ReadHighAndLoop.asm

Language: 8080 Assembly
Last Modified: 2022-11-13 1:21:13 AM UTC
File Size: 690 bytes
http://www.penguinstew.ca/example/AltairAdder/ReadHighAndLoop.asm
;ReadHighValueandLoopProgramdisplaysvaluereadfromhighnibbleswitchesusingaddresslights
ORG0000H
INFFH;0000:DBFFReadvaluefromswitches
RRC;0002:0FRotatehightolow
RRC;0003:0F
RRC;0004:0F
RRC;0005:0F
ANI0FH;0006:E60FClearhighpart
MOVDA;0008:57MovetoHighregister
LP:LDAXD;0009:1ALoaddisplayaddress
JMPLP;000A:C30900Jumptodisplay
1
2
3
4
5
6
7
8
9
10
11